var runtime.ticks
15 uses
runtime (current package)
proc.go#L815: ticks.init() // run as early as possible
runtime.go#L18: var ticks ticksType
runtime.go#L32: lock(&ticks.lock)
runtime.go#L35: unlock(&ticks.lock)
runtime.go#L79: r := ticks.val.Load()
runtime.go#L86: lock(&ticks.lock)
runtime.go#L87: r = ticks.val.Load()
runtime.go#L89: unlock(&ticks.lock)
runtime.go#L98: if nowTicks > ticks.startTicks && nowTime-ticks.startTime > minTimeForTicksPerSecond {
runtime.go#L100: r = int64(float64(nowTicks-ticks.startTicks) * 1e9 / float64(nowTime-ticks.startTime))
runtime.go#L106: ticks.val.Store(r)
runtime.go#L107: unlock(&ticks.lock)
runtime.go#L110: unlock(&ticks.lock)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |